package com.hskn.hss.module.tlequip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.core.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TlEquip implements Serializable {

    //    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 设备编号
     */
    @Excel(name = "设备编号(必填)")
    private String equipcode;
    @TableField(exist = false)
    private String ids;
    /**
     * 设备类型id
     */
    private String equiptypeid;
    @Excel(name = "设备名称(必填)")
    private String equipname;
    @Excel(name = "设备类型(必填)",prompt = "请填写系统中存在的设备类型，都在将影响导入")
    @TableField(exist = false)
    private String equiptype;
    private String equipaccount;

    /**
     * 设备通讯编号
     */
    @Excel(name = "设备通讯号(必填)")
    private String communicationcode;

    /**
     * 厂商id
     */
    private String manufacturerid;
    /**
     * 厂商名称
     */
    @TableField(exist = false)
    private String manufacturername;
    /**
     * 型号
     */

    @TableField(exist = false)
    private String equipmodel;

    /**
     * 设备型号id
     */
    private String equipmodelid;

    /**
     * 状态 0 停用 1启用
     */
    private String status;

    @TableField(exist = false)
    private String statusid;

    /**
     * 绑定对象id
     */
    private String bindobjid;

    /**
     * 备注
     */
    private String remark;

    private String bindobjname;

    /**
     * 绑定状态 0 未绑定 1已绑定
     */
    private String bindstatus;

    /**
     * 绑定时间
     */
    private Date bindtime;

    /**
     * 绑定类型
     */
    private String bindtype;

    /**
     * 创建人
     */
    private String createby;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 创建部门
     */
    private String deptid;

    /**
     * 修改人
     */
    private String updateby;

    /**
     * 修改时间
     */
    private Date updatetime;
    /**
     * 协议
     */
    @TableField(exist = false)
    private String agreement;

    /**
     * 常用指令
     */
    @TableField(exist = false)
    private String orders;


    private String viewpassword;

    private String binddeptid;

    private String onlinestatus;

    private String bindtypeitem;

    @TableField(exist = false)
    private String binddeptname;

    @TableField(exist = false)
    private String equipTypeName;

}
